

/// 图标工具类
class IconUtils {
  /// 获取金币图标URL
  static String getCoinIconUrl() {
    // var coinIconPath =
    //     HiCache.getInstance().getConfigValueFromCache('USER_SIGIN_COIN_ICON') ??
    //     '';
    // var realIconUrl = getImageUrl(coinIconPath);
    // print('vip_icon_path: $coinIconPath');

    // print('vip_iconUrl: $realIconUrl');
    return 'https://img.fyoudmoe.com/liuyun/a/MTc1ODk0MTcyNemHkeW4gS5wbmc%3D';
  }

  /// 获取VIP图标URL
  static String getVipIconUrl() {
    // var vipIconPath =
    //     HiCache.getInstance().getConfigValueFromCache('USER_SIGIN_VIP_ICON') ??
    //     '';
    // var realIconUrl = getImageUrl(vipIconPath);
    // print('vip_icon_path: $vipIconPath');
    //
    // print('vip_iconUrl: $realIconUrl');
    return 'https://img.fyoudmoe.com/liuyun/a/MTc1ODk0MTcyNemHkeW4gS5wbmc%3D';
  }

  /// 获取通用图片URL
  static String getImageUrl(String imagePath) {
    // var domain =
    //     HiCache.getInstance().getConfigValueFromCache('APP_ICON_DOMAIN') ?? '';
    // // var iconUrl = domain + "/" + imagePath;
    // //vip图多了个/
    // var iconUrl = domain + imagePath;
    // print('image_url: $iconUrl');
    return 'https://img.fyoudmoe.com/liuyun/a/MTc1ODk0MTcyNemHkeW4gS5wbmc%3D';
  }
}
